<br /><br />
<div id="view-content">
	<p>View: <b>user/index</b></p>
</div>

    User Entries: <br />
    <dl>
        <?php foreach ($this->users as $entry): ?>
        <dt><a href="<?php echo $this->url(
            array(
                'controller' => 'user',
                'action'     => 'show',
                'blogid'      => $entry->id,
              /*'userId'      => $entry->userId, */
            ),
            'default',
            true) ?>"><?php echo $this->escape($entry->id) ?></a></dt>

        <dt><?php echo $this->escape($entry->username) ?></dt>
        <dd><?php echo $this->escape($entry->realName) ?></dd>
        <?php endforeach ?>
    </dl>
    Blog Entries: <br />
    <dl>
    <?php foreach ($this->blogs as $entry): ?>
     <hr/>
     <dt><a href="<?php echo $this->url(
        array(
            'controller' => 'blog',
            'action'     => 'posting',
            'blogid'      => $entry->id,
            'userId'      => $entry->userId,
        ),
        'default',
        true) ?>"><?php echo $this->escape($entry->userId) ?></a></dt>
    <dd><?php echo $this->escape($entry->title) ?></dd>
    <dd><?php echo $this->escape($entry->posting) ?></dd>
    <?php endforeach ?>
    </dl>